package com.study.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @Author chenyeqing
 * @Date 2021/10/31 16:19
 */
@Component("u")
@Data
public class User {
    private Integer id = 2;
    private String name;
    private String password;

    public User() {
        System.out.println("构造方法");
    }
}
